import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import show_sheet from '@dfeidao/atom-mobile/msgbox/action-sheet';
import alert from '@dfeidao/atom-mobile/msgbox/alert';

export default async function a001(fd: IFeidaoAiMobile) {
	const res = await show_sheet({
		// options: ['a', 'b', 'c', 'd'],
		options: [
			{ text: 'Option 0', icon: 'american-football', iconColor: '#2c8ef4' },
			{ text: 'Option 1', icon: 'analytics', iconColor: '#f42ced' },
			{ text: 'Option 2', icon: 'aperture', iconColor: '#ea943b' },
			{ text: 'Delete', icon: 'trash', iconColor: '#fa213b' },
			{ text: 'Cancel', icon: 'close', iconColor: '#25de5b' }
		],
		cancelButtonIndex: 4,
		destructiveButtonIndex: 3,
		title: 'show_sheet测试'
	});
	alert('被点击项下标', res.toString());
}
